

package com.kimo.shop.user.comment.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.kimo.shop.common.util.PageParam;
import com.kimo.shop.user.comment.model.UserGrowthLog;
import org.apache.ibatis.annotations.Param;

/**
 * 用户成长值记录
 *
 * @author kimo-taozhouchuan
 * @date 2020-02-26 16:03:14
 */
public interface UserGrowthLogMapper extends BaseMapper<UserGrowthLog> {

    Page<UserGrowthLog> getPage(PageParam<UserGrowthLog> page, @Param("userGrowthLog")UserGrowthLog userGrowthLog);

    IPage<UserGrowthLog> getPageByUserId(@Param("page") PageParam<UserGrowthLog> page, @Param("userId") String userId);
}
